package com.bjsxt.userCenter.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 不需要登录的servlet
 * @author zhanghuan
 *
 */
public class NoLoginServlet extends HttpServlet
{

	@Override
	protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
	{
		System.out.println("=======NoLoginServlet=======");
		/*服务器端跳转*/
		request.getRequestDispatcher("/login.jsp").forward(request, response);
	}

}
